import request from '@/config/axios';
const API=import.meta.env.VITE_BASES_URL;
import { getAccessToken} from '@/utils/auth'

// 获取详情
export const Details = () => {
  return request.get({ url:`${API}/evaluate/economyModel/details`,headers: {
    'Authorization':'Bearer ' + getAccessToken(),
  }})
}
// 修改
export const Update = (data) => {
  return request.post({ url:`${API}/evaluate/economyModel/update`,data ,headers: {
    'Authorization':'Bearer ' + getAccessToken(),
  }})
}
